{include file="index/header" /}






<div class="row">
    <div class="col-xs-12 col-sm-12 col-md-9">
        <div class="page-header">
            <h2>赞赏者名册<small style="font-size: 12px;"> 赞赏总额：<span style="color: #D8582B;font-size: 12px;">{$total_fee_count}</span>     </small>

 
<a  class="btn btn-danger" href="{:url('member/tip')}" role="button">朕要赞赏</a>
            </h2>





            
        </div>
         

        <div class="tabbable" id="tabs-323015">
            <ul class="nav nav-tabs">
                <li class="active">
                    <a href="#panel-862765" data-toggle="tab">图文</a>
                </li>
                <li>
                    <a href="#panel-401557" data-toggle="tab">列表</a>
                </li>

            </ul>
            <div class="tab-content">
                <div class="tab-pane active" id="panel-862765">
                    <div class="row" style="padding: 15px">


                        {volist name='$list' id='user' key="k"}
                        <div class="col-xs-12 col-sm-6 col-md-4 " style="padding: 0px;">


                            <div class="media" >
                                <div class="media-left" >
                                    <a href="#">
                                        <img class="media-object img-circle"    src="__STATIC__/images/user/user ({:rand(1,25)}).jpg" data-holder-rendered="true" style="width: 64px; height: 64px;">
                                    </a>
                                </div>
                                <div class="media-body">
                                    <small><a href="{:url('index/member/home', ['user_id' => $user.id])}">{$user.phone|substr=0,3}****{$user.phone|substr=7,4}</a> 
                                        <span style="color: #D8582B;font-weight: bold;">￥{$user.total_fee}</span></small>
                                    <h5> <small>赞赏时间：<span style="color: #D8582B;font-weight: bold;">{$user.create_time}</span></small></h5>
                                    <h5><small><span style="color: #D8582B;font-weight: bold;"></span> {:mb_substr($user.subject, 0, 20, 'utf-8')}</small></h5>
                                </div>
                            </div>


                            <hr>


                        </div>



                        {/volist}

                         
                    </div>

                    {$list->render()}
                </div>
                <div class="tab-pane" id="panel-401557">
                    <div class="table-responsive">
                        <br>
                        <table class="table table-bordered  table-striped table-hover">
                            <thead>
                            <tr  ><th > 赞赏者</th><th >金额</th><th >留言</th><th > 赞赏时间</th>
                            </tr>
                            </thead>

                            <tbody>
                            {volist name='list' id='user' key="k"}

                            <tr  >
                                <td>
                                    <img  class="img-rounded"    src="__STATIC__/images/user/user ({:rand(1,25)}).jpg" data-holder-rendered="true" style="width: 30px; height: 30px;" > {$user.phone|substr=0,3}****{$user.phone|substr=7,4} </td>
                                <td>  <h5><small></small><span style="color: tomato">￥{$user.total_fee}</span> </h5> </td>
                                <td> {$user.subject} </td>
                                <td> {$user.create_time} </td>         </tr>

                            {/volist}
                            </tbody>
                        </table>
                    </div>
                    {$list->render()}
                </div>
 





            </div>
        </div>
    </div>
    <div class="col-xs-12 col-md-3">
        <div class="panel panel-default">
            <div class="panel-heading">赞赏排名</div>
            <div class="panel-body">
                {volist name='total_fee' id='user' key="k"}
                <div class="col-xs-12 col-sm-6 col-md-12" style="padding: 0px;    border-bottom: 1px solid #eee;    margin-bottom: 10px;padding-bottom: 10px; ">


                    <div class="media" >
                        <div class="media-left" >
                            <a href="#">
                                <img class="media-object img-circle"    src="__STATIC__/images/user/user ({:rand(1,25)}).jpg" data-holder-rendered="true" style="width: 64px; height: 64px;">
                            </a>
                        </div>
                        <div class="media-body">
                            <small><a href="{:url('index/member/home', ['user_id' => $user.id])}">{$user.phone|substr=0,3}****{$user.phone|substr=7,4}</a> 
                                NO.<span style="color: #D8582B;font-weight: bold;">{$k}</span></small>
                            <h5> <small>赞赏金额：<span style="color: #D8582B;font-weight: bold;">{$user.total_feecount}</span></small></h5>
                            <h5> <small>赞赏时间：<span style="color: #D8582B;font-weight: bold;">{$user.create_time}</span></small></h5>
                             
                        </div>
                    </div>
 


                </div>



                {/volist}
            </div>
        </div>
    </div>
</div>


{if condition="$list"}

{/if}

<div class="panel panel-default">
    <div class="panel-heading">提示：</div>
    <div class="panel-body">

        <h6><small  >   这或许无法给我们带来多大的物质支撑。却是一种充满友爱的表达方式。我们并非行乞者，却并不拒绝赞赏。 </small></h6>

        <h5><small> 希望大家相互学习，共同进步。^_^ </small></h5>

        <h5><small> 刚开发好，还有许多BUG,欢迎提意见。  </small></h5>


    </div>
</div>
 
 

{include file="index/footer" /}